<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
MazePainter
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="MazePainter";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MazePainter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../maze/gui/MazeList.OpenMazeRenderer.html" title="class in maze.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../maze/gui/MazePainterClassic.html" title="class in maze.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html?maze/gui/MazePainter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="MazePainter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
maze.gui</FONT>
<BR>
Class MazePainter</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>maze.gui.MazePainter</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../maze/gui/MazePainterClassic.html" title="class in maze.gui">MazePainterClassic</A>, <A HREF="../../maze/gui/MazePainterDefault.html" title="class in maze.gui">MazePainterDefault</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <A HREF="../../src-html/maze/gui/MazePainter.html#line.25"><B>MazePainter</B></A><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
</PRE>

<P>
This is the base class for the UI rendering delegate classes for painting the
 maze view. This base class provides a set of paints and some simple drawing
 methods. Extending classes can set new paints or it can override drawing
 methods for more control.
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD>Luke Last</DD>
<DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#maze.gui.MazePainter">Serialized Form</A></DL>
<HR>

<P>
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#background">background</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#cellBackground">cellBackground</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#fog">fog</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#hover">hover</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#mazeHeight">mazeHeight</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#mazeWidth">mazeWidth</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#peg">peg</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#pegInvalid">pegInvalid</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#pegValid">pegValid</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;javax.swing.ImageIcon</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#robotImage">robotImage</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#runBest">runBest</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#runCurrent">runCurrent</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#runFirst">runFirst</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#wallEmpty">wallEmpty</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#wallSet">wallSet</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#MazePainter()">MazePainter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#drawCellBackground(java.awt.Graphics2D, java.awt.Rectangle)">drawCellBackground</A></B>(java.awt.Graphics2D&nbsp;g,
                                     java.awt.Rectangle&nbsp;area)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#drawCellHover(java.awt.Graphics2D, java.awt.Rectangle)">drawCellHover</A></B>(java.awt.Graphics2D&nbsp;g,
                           java.awt.Rectangle&nbsp;area)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#drawFog(java.awt.Graphics2D, java.awt.Rectangle)">drawFog</A></B>(java.awt.Graphics2D&nbsp;g,
               java.awt.Rectangle&nbsp;area)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#drawPeg(java.awt.Graphics2D, java.awt.Rectangle)">drawPeg</A></B>(java.awt.Graphics2D&nbsp;g,
               java.awt.Rectangle&nbsp;area)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#drawPegInvalid(java.awt.Graphics2D, java.awt.Rectangle)">drawPegInvalid</A></B>(java.awt.Graphics2D&nbsp;g,
                             java.awt.Rectangle&nbsp;area)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#drawPegValid(java.awt.Graphics2D, java.awt.Rectangle)">drawPegValid</A></B>(java.awt.Graphics2D&nbsp;g,
                         java.awt.Rectangle&nbsp;area)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#drawRobot(java.awt.Graphics2D, java.awt.Point, double, int, int)">drawRobot</A></B>(java.awt.Graphics2D&nbsp;g,
                   java.awt.Point&nbsp;location,
                   double&nbsp;rotation,
                   int&nbsp;cellWidth,
                   int&nbsp;cellHeight)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#drawRunCurrent(java.awt.Graphics2D, java.awt.Rectangle, java.util.EnumSet)">drawRunCurrent</A></B>(java.awt.Graphics2D&nbsp;g,
                             java.awt.Rectangle&nbsp;cellArea,
                             java.util.EnumSet&lt;<A HREF="../../maze/model/Direction.html" title="enum in maze.model">Direction</A>&gt;&nbsp;dirsTraveled)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#drawWallEmpty(java.awt.Graphics2D, java.awt.Rectangle)">drawWallEmpty</A></B>(java.awt.Graphics2D&nbsp;g,
                           java.awt.Rectangle&nbsp;area)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#drawWallSet(java.awt.Graphics2D, java.awt.Rectangle)">drawWallSet</A></B>(java.awt.Graphics2D&nbsp;g,
                       java.awt.Rectangle&nbsp;area)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getBackground()">getBackground</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getCellBackground()">getCellBackground</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getFog()">getFog</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getHover()">getHover</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getPeg()">getPeg</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getPegInvalid()">getPegInvalid</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getPegValid()">getPegValid</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.swing.ImageIcon</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getRobotImage()">getRobotImage</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getRunBest()">getRunBest</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getRunCurrent()">getRunCurrent</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getRunFirst()">getRunFirst</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getWallEmpty()">getWallEmpty</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Paint</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#getWallSet()">getWallSet</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setBackground(java.awt.Paint)">setBackground</A></B>(java.awt.Paint&nbsp;background)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setCellBackground(java.awt.Paint)">setCellBackground</A></B>(java.awt.Paint&nbsp;cellBackground)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setDefaults()">setDefaults</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the default values for colors.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setFog(java.awt.Paint)">setFog</A></B>(java.awt.Paint&nbsp;fog)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setHover(java.awt.Paint)">setHover</A></B>(java.awt.Paint&nbsp;hover)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setMazeSize(java.awt.Dimension)">setMazeSize</A></B>(java.awt.Dimension&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the maze model dimensions so that this renderer knows how big the maze
 is and can calculate locations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setPeg(java.awt.Paint)">setPeg</A></B>(java.awt.Paint&nbsp;peg)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setPegInvalid(java.awt.Paint)">setPegInvalid</A></B>(java.awt.Paint&nbsp;pegInvalid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setPegValid(java.awt.Paint)">setPegValid</A></B>(java.awt.Paint&nbsp;pegValid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setRobotImage(javax.swing.ImageIcon)">setRobotImage</A></B>(javax.swing.ImageIcon&nbsp;robotImage)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setRunBest(java.awt.Paint)">setRunBest</A></B>(java.awt.Paint&nbsp;runBest)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setRunCurrent(java.awt.Paint)">setRunCurrent</A></B>(java.awt.Paint&nbsp;runCurrent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setRunFirst(java.awt.Paint)">setRunFirst</A></B>(java.awt.Paint&nbsp;runFirst)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setWallEmpty(java.awt.Paint)">setWallEmpty</A></B>(java.awt.Paint&nbsp;wallEmpty)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../maze/gui/MazePainter.html#setWallSet(java.awt.Paint)">setWallSet</A></B>(java.awt.Paint&nbsp;wallSet)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="background"><!-- --></A><H3>
background</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.27"><B>background</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellBackground"><!-- --></A><H3>
cellBackground</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.28"><B>cellBackground</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="fog"><!-- --></A><H3>
fog</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.29"><B>fog</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="hover"><!-- --></A><H3>
hover</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.30"><B>hover</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="mazeHeight"><!-- --></A><H3>
mazeHeight</H3>
<PRE>
protected int <A HREF="../../src-html/maze/gui/MazePainter.html#line.31"><B>mazeHeight</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="mazeWidth"><!-- --></A><H3>
mazeWidth</H3>
<PRE>
protected int <A HREF="../../src-html/maze/gui/MazePainter.html#line.32"><B>mazeWidth</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="peg"><!-- --></A><H3>
peg</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.33"><B>peg</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="pegInvalid"><!-- --></A><H3>
pegInvalid</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.34"><B>pegInvalid</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="pegValid"><!-- --></A><H3>
pegValid</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.35"><B>pegValid</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="robotImage"><!-- --></A><H3>
robotImage</H3>
<PRE>
protected javax.swing.ImageIcon <A HREF="../../src-html/maze/gui/MazePainter.html#line.36"><B>robotImage</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="runBest"><!-- --></A><H3>
runBest</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.37"><B>runBest</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="runCurrent"><!-- --></A><H3>
runCurrent</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.38"><B>runCurrent</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="runFirst"><!-- --></A><H3>
runFirst</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.39"><B>runFirst</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="wallEmpty"><!-- --></A><H3>
wallEmpty</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.40"><B>wallEmpty</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="wallSet"><!-- --></A><H3>
wallSet</H3>
<PRE>
protected java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.41"><B>wallSet</B></A></PRE>
<DL>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="MazePainter()"><!-- --></A><H3>
MazePainter</H3>
<PRE>
public <A HREF="../../src-html/maze/gui/MazePainter.html#line.46"><B>MazePainter</B></A>()</PRE>
<DL>
<DD>Constructor.
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="drawCellBackground(java.awt.Graphics2D, java.awt.Rectangle)"><!-- --></A><H3>
drawCellBackground</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.51"><B>drawCellBackground</B></A>(java.awt.Graphics2D&nbsp;g,
                               java.awt.Rectangle&nbsp;area)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawCellHover(java.awt.Graphics2D, java.awt.Rectangle)"><!-- --></A><H3>
drawCellHover</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.57"><B>drawCellHover</B></A>(java.awt.Graphics2D&nbsp;g,
                          java.awt.Rectangle&nbsp;area)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawFog(java.awt.Graphics2D, java.awt.Rectangle)"><!-- --></A><H3>
drawFog</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.63"><B>drawFog</B></A>(java.awt.Graphics2D&nbsp;g,
                    java.awt.Rectangle&nbsp;area)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPeg(java.awt.Graphics2D, java.awt.Rectangle)"><!-- --></A><H3>
drawPeg</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.69"><B>drawPeg</B></A>(java.awt.Graphics2D&nbsp;g,
                    java.awt.Rectangle&nbsp;area)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPegInvalid(java.awt.Graphics2D, java.awt.Rectangle)"><!-- --></A><H3>
drawPegInvalid</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.75"><B>drawPegInvalid</B></A>(java.awt.Graphics2D&nbsp;g,
                           java.awt.Rectangle&nbsp;area)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawPegValid(java.awt.Graphics2D, java.awt.Rectangle)"><!-- --></A><H3>
drawPegValid</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.81"><B>drawPegValid</B></A>(java.awt.Graphics2D&nbsp;g,
                         java.awt.Rectangle&nbsp;area)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRobot(java.awt.Graphics2D, java.awt.Point, double, int, int)"><!-- --></A><H3>
drawRobot</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.87"><B>drawRobot</B></A>(java.awt.Graphics2D&nbsp;g,
                      java.awt.Point&nbsp;location,
                      double&nbsp;rotation,
                      int&nbsp;cellWidth,
                      int&nbsp;cellHeight)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawRunCurrent(java.awt.Graphics2D, java.awt.Rectangle, java.util.EnumSet)"><!-- --></A><H3>
drawRunCurrent</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.117"><B>drawRunCurrent</B></A>(java.awt.Graphics2D&nbsp;g,
                           java.awt.Rectangle&nbsp;cellArea,
                           java.util.EnumSet&lt;<A HREF="../../maze/model/Direction.html" title="enum in maze.model">Direction</A>&gt;&nbsp;dirsTraveled)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawWallEmpty(java.awt.Graphics2D, java.awt.Rectangle)"><!-- --></A><H3>
drawWallEmpty</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.144"><B>drawWallEmpty</B></A>(java.awt.Graphics2D&nbsp;g,
                          java.awt.Rectangle&nbsp;area)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawWallSet(java.awt.Graphics2D, java.awt.Rectangle)"><!-- --></A><H3>
drawWallSet</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.150"><B>drawWallSet</B></A>(java.awt.Graphics2D&nbsp;g,
                        java.awt.Rectangle&nbsp;area)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getBackground()"><!-- --></A><H3>
getBackground</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.159"><B>getBackground</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the background</DL>
</DD>
</DL>
<HR>

<A NAME="getCellBackground()"><!-- --></A><H3>
getCellBackground</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.167"><B>getCellBackground</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the cellBackground</DL>
</DD>
</DL>
<HR>

<A NAME="getFog()"><!-- --></A><H3>
getFog</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.175"><B>getFog</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the fog</DL>
</DD>
</DL>
<HR>

<A NAME="getHover()"><!-- --></A><H3>
getHover</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.183"><B>getHover</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the hover</DL>
</DD>
</DL>
<HR>

<A NAME="getPeg()"><!-- --></A><H3>
getPeg</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.191"><B>getPeg</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the peg</DL>
</DD>
</DL>
<HR>

<A NAME="getPegInvalid()"><!-- --></A><H3>
getPegInvalid</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.199"><B>getPegInvalid</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the pegInvalid</DL>
</DD>
</DL>
<HR>

<A NAME="getPegValid()"><!-- --></A><H3>
getPegValid</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.207"><B>getPegValid</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the pegValid</DL>
</DD>
</DL>
<HR>

<A NAME="getRobotImage()"><!-- --></A><H3>
getRobotImage</H3>
<PRE>
public javax.swing.ImageIcon <A HREF="../../src-html/maze/gui/MazePainter.html#line.215"><B>getRobotImage</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the robotImage</DL>
</DD>
</DL>
<HR>

<A NAME="getRunBest()"><!-- --></A><H3>
getRunBest</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.223"><B>getRunBest</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the runBest</DL>
</DD>
</DL>
<HR>

<A NAME="getRunCurrent()"><!-- --></A><H3>
getRunCurrent</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.231"><B>getRunCurrent</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the runCurrent</DL>
</DD>
</DL>
<HR>

<A NAME="getRunFirst()"><!-- --></A><H3>
getRunFirst</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.239"><B>getRunFirst</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the runFirst</DL>
</DD>
</DL>
<HR>

<A NAME="getWallEmpty()"><!-- --></A><H3>
getWallEmpty</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.247"><B>getWallEmpty</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the wallEmpty</DL>
</DD>
</DL>
<HR>

<A NAME="getWallSet()"><!-- --></A><H3>
getWallSet</H3>
<PRE>
public java.awt.Paint <A HREF="../../src-html/maze/gui/MazePainter.html#line.255"><B>getWallSet</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the wallSet</DL>
</DD>
</DL>
<HR>

<A NAME="setBackground(java.awt.Paint)"><!-- --></A><H3>
setBackground</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.263"><B>setBackground</B></A>(java.awt.Paint&nbsp;background)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>background</CODE> - the background to set</DL>
</DD>
</DL>
<HR>

<A NAME="setCellBackground(java.awt.Paint)"><!-- --></A><H3>
setCellBackground</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.271"><B>setCellBackground</B></A>(java.awt.Paint&nbsp;cellBackground)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cellBackground</CODE> - the cellBackground to set</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaults()"><!-- --></A><H3>
setDefaults</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.279"><B>setDefaults</B></A>()</PRE>
<DL>
<DD>Set the default values for colors. The base class defaults are all black.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setFog(java.awt.Paint)"><!-- --></A><H3>
setFog</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.299"><B>setFog</B></A>(java.awt.Paint&nbsp;fog)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fog</CODE> - the fog to set</DL>
</DD>
</DL>
<HR>

<A NAME="setHover(java.awt.Paint)"><!-- --></A><H3>
setHover</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.307"><B>setHover</B></A>(java.awt.Paint&nbsp;hover)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>hover</CODE> - the hover to set</DL>
</DD>
</DL>
<HR>

<A NAME="setMazeSize(java.awt.Dimension)"><!-- --></A><H3>
setMazeSize</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.317"><B>setMazeSize</B></A>(java.awt.Dimension&nbsp;size)</PRE>
<DL>
<DD>Set the maze model dimensions so that this renderer knows how big the maze
 is and can calculate locations.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - The size of the maze in pixels.</DL>
</DD>
</DL>
<HR>

<A NAME="setPeg(java.awt.Paint)"><!-- --></A><H3>
setPeg</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.329"><B>setPeg</B></A>(java.awt.Paint&nbsp;peg)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>peg</CODE> - the peg to set</DL>
</DD>
</DL>
<HR>

<A NAME="setPegInvalid(java.awt.Paint)"><!-- --></A><H3>
setPegInvalid</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.337"><B>setPegInvalid</B></A>(java.awt.Paint&nbsp;pegInvalid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pegInvalid</CODE> - the pegInvalid to set</DL>
</DD>
</DL>
<HR>

<A NAME="setPegValid(java.awt.Paint)"><!-- --></A><H3>
setPegValid</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.345"><B>setPegValid</B></A>(java.awt.Paint&nbsp;pegValid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pegValid</CODE> - the pegValid to set</DL>
</DD>
</DL>
<HR>

<A NAME="setRobotImage(javax.swing.ImageIcon)"><!-- --></A><H3>
setRobotImage</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.353"><B>setRobotImage</B></A>(javax.swing.ImageIcon&nbsp;robotImage)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>robotImage</CODE> - the robotImage to set</DL>
</DD>
</DL>
<HR>

<A NAME="setRunBest(java.awt.Paint)"><!-- --></A><H3>
setRunBest</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.361"><B>setRunBest</B></A>(java.awt.Paint&nbsp;runBest)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>runBest</CODE> - the runBest to set</DL>
</DD>
</DL>
<HR>

<A NAME="setRunCurrent(java.awt.Paint)"><!-- --></A><H3>
setRunCurrent</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.369"><B>setRunCurrent</B></A>(java.awt.Paint&nbsp;runCurrent)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>runCurrent</CODE> - the runCurrent to set</DL>
</DD>
</DL>
<HR>

<A NAME="setRunFirst(java.awt.Paint)"><!-- --></A><H3>
setRunFirst</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.377"><B>setRunFirst</B></A>(java.awt.Paint&nbsp;runFirst)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>runFirst</CODE> - the runFirst to set</DL>
</DD>
</DL>
<HR>

<A NAME="setWallEmpty(java.awt.Paint)"><!-- --></A><H3>
setWallEmpty</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.385"><B>setWallEmpty</B></A>(java.awt.Paint&nbsp;wallEmpty)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>wallEmpty</CODE> - the wallEmpty to set</DL>
</DD>
</DL>
<HR>

<A NAME="setWallSet(java.awt.Paint)"><!-- --></A><H3>
setWallSet</H3>
<PRE>
public void <A HREF="../../src-html/maze/gui/MazePainter.html#line.393"><B>setWallSet</B></A>(java.awt.Paint&nbsp;wallSet)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>wallSet</CODE> - the wallSet to set</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MazePainter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../maze/gui/MazeList.OpenMazeRenderer.html" title="class in maze.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../maze/gui/MazePainterClassic.html" title="class in maze.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html?maze/gui/MazePainter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="MazePainter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>
